﻿package plugin.gameHall.game.vplan
{
    import morn.core.components.*;
    import morn.core.handlers.*;
    import uiresource.vplan.*;

    public class TeQuanZongLuanCtrl extends TeQuanZongLuanUI implements IVplan
    {

        public function TeQuanZongLuanCtrl()
        {
            return;
        }// end function

        override protected function initializeView() : void
        {
            super.initializeView();
            var _loc_1:Array = [1, 2, 3, 4];
            zonglanlist.array = _loc_1;
            zonglanlist.renderHandler = new Handler(this.itemHandler);
            return;
        }// end function

        private function itemHandler(param1:Component, param2:int) : void
        {
            (param1.getChildByName("descImg") as UrlImage).url = "cs2_vplan/wenzi" + param1.dataSource + ".png";
            return;
        }// end function

        public function update() : void
        {
            return;
        }// end function

        public function showplan() : void
        {
            this.visible = true;
            return;
        }// end function

        public function closeplan() : void
        {
            this.visible = false;
            return;
        }// end function

    }
}
